function isTimeInRange(start, end, target) {
    /**
     * @功能
     * 判断当前或指定时间是否在范围内,都是闭区间
     * @param 必填 {start} DateString|Number
     * @param 必填 {end} DateString|Number
     * @param 选填 {target} DateString|Number
     * @例子
     * isTimeInRange(1556693758000,1588316158000)
     * isTimeInRange('2019-05-5 12:0:0','2019-09-03 09:0:0',1558687565142)
        */
    var getDateTimeStamp = function (t) {
        //该函数只返回毫秒级时间戳
        if (typeof t === 'string') {
            return new Date(t.replace(/-/gi, "/")).getTime()
        }
        return t
    };

    target = target ? getDateTimeStamp(target) : Date.now()

    var s = getDateTimeStamp(start)
    var e = getDateTimeStamp(end)
    if (target >= s && target <= e) {
        return true
    }
    return false
}